Conversation
- Add 'Try again' button for failed thaws in schedule screen - Exclude failed thaws from total allocation and redeemable calculations - Improve error messages with human-readable date formatting - Fix numberOfClaimedAllocations calculation for confirmed thaws - Add concise navigation titles for error screens - Handle failed status throughout airdrop flow
- Add resetTabAndSwapWithRemoteConfig method to useNavigateTo hook - Consolidate swap navigation logic (reset form, set pending token, navigate) - Fix TradeTokensBannerBig navigation to properly reset stack - Fix TradeTokensBanner to initialize output token from remote config - Remove duplicate logic from banner components
- Fix back navigation issue by delaying action clearing for delegate-drep actions - Fix DRep deeplink to properly navigate to ChangeVoteScreen and open modal - Fix modal to prefill DRep ID from deeplink without overriding user input - Fix continue button to enable automatically when validation succeeds - Change button logic from isFetched to isSuccess for proper validation state - Ensure validation query runs when initialDrepId is set - Clean up all debug logging statements - Fix TypeScript errors in parsers.ts
- Fix infinite retry loop in DRep ID validation by checking error state - Fix staking update modal showing multiple times by improving storage read logic - Default to not showing modal on storage read failures (safer UX) - Add robust parsing for storage values (handles JSON strings, plain strings, booleans) - Update cache synchronously before opening modal to prevent race conditions - Add error state check to prevent refetching on validation failures
| } | ||
|
|
||
| // Main execution | ||
| const inputFile = process.argv[2] || '/home/jorbuedo/Downloads/fixed'; |
There was a problem hiding this comment.
Bug: Hardcoded developer path in utility script
The script has a hardcoded default path /home/jorbuedo/Downloads/fixed which appears to be a developer's personal file path. This is likely accidentally committed debugging/development code. If the script is run without command-line arguments on any other machine, it will fail because this path won't exist.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Improves NIGHT airdrop redemption UX and error handling, adds DRep deeplink flow/validation, enhances swap navigation via remote config, enables UTXO consolidation banner, adds a thaw-schedule checker script, and updates result screen/i18n.
schedule.numberOfClaimedAllocationsfrom confirmed/confirming thaws; excludefailedfrom totals and redeemability checks.context: 'airdrop'for result screens.useHasRedeemableThawsexcludesfailed/skipped; eligibility calculations refined.airdrop.tryAgainand related labels.drepIDs in deeplinks; delay action clearing fordelegate-drepnavigation to prevent re-trigger.drepId; Enter DRep modal improves initial value handling and validation/refetch flow.resetTabAndSwapWithRemoteConfig: resets form, optionally preselects token from remote config, handles preprod notice; banners updated to use it.context: 'airdrop'.mobile/scripts/check-thaw-schedule.jsto fetch thaw schedules for addresses, sort/aggregate, and output summary and detailed reports.Written by Cursor Bugbot for commit eedbcfc. This will update automatically on new commits. Configure here.